﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MINERP.CustomerManage.OrderInfo
{
    public partial class FrmPriority : Form
    {
        //属性
        private static FrmPriority _instance;
        public static FrmPriority GetInstance
        {
            get
            {
                if (_instance == null)
                {
                    _instance = new FrmPriority();
                }
                return _instance;
            }
            set
            {
                _instance = value;
            }
        }
        public FrmOrderInfo info { get; set; }
        public FrmOrderDelyInfo Delyinfo { get; set; }
        public FrmPriority()
        {
            InitializeComponent();
        }

        private void FrmPriority_Load(object sender, EventArgs e)
        {

        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            int priority = Convert.ToInt16(cbPriority.Text);
            info.Priority = priority;
            DialogResult = DialogResult.OK;
            this.Close();
        }
    }
}
